package com.barneyx.mshinfoplatform.entity.info;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.barneyx.mshinfoplatform.entity.AreaCommonEntity;
import com.barneyx.mshinfoplatform.entity.CommonEntity;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableCharset;
import com.gitee.sunchenbin.mybatis.actable.annotation.TableEngine;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlCharsetConstant;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlEngineConstant;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "msh_info_cate_tags", autoResultMap = true)
@TableCharset(MySqlCharsetConstant.UTF8)
@TableEngine(MySqlEngineConstant.MyISAM)
public class InfoCateTagsEntity extends AreaCommonEntity {
    @TableId(value = "tag_id", type = IdType.ASSIGN_ID)
    @Column(type = MySqlTypeConstant.BIGINT)
    private String TagId;

    @TableField("cate_id")
    @Column(type = MySqlTypeConstant.BIGINT)
    private String CateId;

    @TableField("tag_name")
    private String TagName;

    @TableField("tag_color")
    private String TagColor;

    @TableField(exist = false)
    private Boolean Checked =false;
}
